/*
 * @Description: 你的代码我的心
 * @Author: GGB
 * @Date: 2021-11-17 11:07:24
 * @LastEditors: GGB
 * @LastEditTime: 2021-11-17 11:16:21
 */
import { axios } from '@/utils/request'

/**
 * api接口列表
 */
const api = {
    list: '/goods.spec/list',
    delete: '/goods.spec/delSpecValue',

}

/**
 * 列表记录
 */
export function list(params) {
    return axios({
        url: api.list,
        method: 'get',
        params
    })
}
/**
 * 删除记录
 * @param {*} data
 */
export function deleted(data) {
    return axios({
        url: api.delete,
        method: 'post',
        data: data
    })
}
